home *** CD-ROM | disk | FTP | other *** search
/ World of Video / World of Video.iso / gfxprograms / conversion / easyjpeg / installeasypeg < prev    next >
Text File  |  1995-02-13  |  2KB  |  67 lines

  1. echo ""
  2. echo "This program will install needed files to the C dir of your boot disk"
  3. requestchoice >env:opt "Install" "Proceed with Install?" "Yes|No"
  4. if $opt eq 0
  5. skip abort
  6. endif
  7. delete env:opt >nil:
  8. echo ""
  9. requestchoice >env:pro "Install" "Install 030 Version?" "Yes|No"
  10. if $pro eq 1
  11. echo "Copying files"
  12. copy 24toppm sys:c >nil:
  13. copy cjpeg030 sys:c >nil:
  14. delete env:pro >nil:
  15. skip continue
  16. else echo "Copying files"
  17. copy 24toppm sys:c >nil:
  18. copy cjpeg sys:c >nil:
  19. lab continue
  20. endif
  21. echo ""
  22. if exists sys:libs/arp.library
  23. skip version
  24. endif
  25. requestchoice >nil: "Install" "Warning! you do not have the arp.library*nneeded by this program installed" "Resume"
  26. requestchoice >env:arp "Install" "Copy arp.library to Libs?" "Yes|No"
  27. if $arp eq 1
  28. copy arp.library sys:Libs >nil:
  29. skip assign
  30. else
  31. skip assign
  32. endif
  33. delete env:arp >nil:
  34. lab version
  35. version arp.library version 39 revision 1 >nil:
  36. if warn
  37. skip later
  38. endif
  39. requestchoice >nil: "Install" "You have a new arp.library version installed already*nthere is no need to install this version" "Resume"
  40. skip assign
  41. lab later
  42. requestchoice >env:later "Install" "You have an earlier version of the*narp.library. Install later version?" "Yes|No"
  43. if $later eq 1
  44. copy arp.library sys:libs >nil:
  45. endif
  46. delete >nil: env:later
  47. lab assign
  48. delete >nil: env:arp
  49. delete >nil: env:later
  50. requestchoice >env:US "Install" "Copy JPEGTMP assign to user-startup?" "Yes|No"
  51. if $US eq 1
  52. echo >>sys:s/user-startup ";Begin JPEGTMP"
  53. echo >>sys:s/user-startup "Assign JPEGTMP: Ram:T"
  54. echo >>sys:s/user-startup ";End JPEGTMP"
  55. endif
  56. delete >nil: env:US
  57. echo ""
  58. echo "All done, Reboot your Amiga before running Easypeg"
  59. delete env:pro >nil:
  60. wait 10
  61. endcli
  62. lab abort
  63. echo ""
  64. echo Aborting install
  65. delete env:opt >nil:
  66. endcli
  67.